<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

/**
 * 初始化用户分类
 * Class AdminsTableSeeder
 */
class LevelsTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('levels')->truncate();

        /* 插入 */
        DB::table('levels')->insert([
            ['name' => '高级教师', 'l_code' => '2424234',  'sort'=>1],
            ['name' => '一级老师', 'l_code' => '2424235', 'sort'=>2],
            ['name' => '研究生', 'l_code' => '2424236',  'sort'=>3],
            ['name' => '985、211重点大学招聘公费师范生', 'l_code' => '2424237',  'sort'=>4],
            ['name' => '派遣骨干教师', 'l_code' => '2424244', 'sort'=>5],
            ['name' => '派遣校长、副校长各1人', 'l_code' => '2424245',  'sort'=>6],
        ]);
    }
}
